#include "stdafx.h"
#include "net/PartHandler.hpp"
#include "stream/streambuf.hpp"
#include "stream/StreamCopier.hpp"
using JHCPP::stream::CNullOutputStream;
using JHCPP::stream::CStreamCopier;

NET_NAMESPACE_BEGIN

CPartHandler::CPartHandler()
{
}

CPartHandler::~CPartHandler()
{
}


CNullPartHandler::CNullPartHandler()
{
}

CNullPartHandler::~CNullPartHandler()
{
}

void CNullPartHandler::handlePart(const CMessageHeader& header, std::istream& stream)
{
	CNullOutputStream ostr;
	CStreamCopier::copyStream(stream, ostr);
}


NET_NAMESPACE_END
